﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SMS.DAL.Providers;

namespace SMS.Business
{
    public abstract class BusinessBase<T,C>
        where C : SMS.DAL.Providers.BaseSearchCriteria
    {
        public abstract bool Insert(T item);
        public abstract bool Update(T updatedItem);
        public abstract bool Delete(int id);
        public abstract T GetByID(int id);
        public abstract List<T> Search(C SearchCriteria);
    }
}
